#自动生成一个4位数
import random
def numbers():
    num = random .randint(97,122)
    numa = str(random.randint(0,10))
    b = ''
    for i in range(4):
        a = random.randint(1,5)
        if a < 3:
            word = chr(random.randint(97, 122))
        else:
            word = str(random.randint(0, 9))
        b += word
    return b

if __name__ == '__main__':
    numbers()



"""
调用时模块导入：

import sys,os
b = os.path.join(os.path.dirname(__file__),"models")
sys.path.append(b)
from models.numbers import numbers

"""